<?php
$array = array(1,24,44,66,88,99,101,102,167,177,999);
$key = array_search('999', $array); 
echo $key;
?> 